import {RouteRecordRaw} from 'vue-router'

const routeName = 'terminal'

export const terminal: Array<RouteRecordRaw> = [
    {
        path: '/terminal',
        name: routeName,
        component: /* webpackChunkName */ () => import('@/views/terminal/index.vue'),
        meta: {
            title: '终端管理',
        }
    },
    {
        path: '/terminal/info',
        name: `${routeName}-info`,
        component: import(/* webpackChunkName: "terminal-info" */ '@/views/terminal/subViews/terminal-info.vue'),
        meta: {
            title: '终端详情'
        }
    }
]
